//
//  NavBar.h
//  SulitLoan
//
//  Created by 虞嘉伟 on 2025/2/24.
//  
  

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN


typedef NS_ENUM(NSInteger, NavBarTheme) {
    NavBarThemeLight,
    NavBarThemeDark,
};


@interface NavBar : UIView
@property (nonatomic, strong) UIView *bar;
@property (nonatomic, strong) UIButton *backButton;
@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, assign) NavBarTheme theme;

@property (nonatomic, copy  ) dispatch_block_t backBlock;

@end

NS_ASSUME_NONNULL_END
